<?php use_helper('Date', 'I18N', 'nahoWiki') ?>

<h1 class="wiki-title"><?php echo __('History of changes') ?></h1>

<form method="post" action="<?php echo url_for('nahoWiki/diff') ?>" name="diff_form" id="diff_form" class="wiki-form">
<ul><?php echo $form->renderUsing('list') ?></ul>
</form>

<?php if (@$revision1 && @$revision2): ?>
  <?php include_partial('diff', array('page' => $page, 'revision1' => $revision1, 'revision2' => $revision2, 'diff' => $sf_data->getRaw('diff'))) ?>
<?php endif ?>
